package com.zhaozhaonews.search.service;


import com.zhaozhaonews.model.common.dto.ResponseResult;
import com.zhaozhaonews.model.serach.dto.UserSearchDto;

import java.io.IOException;

/**
 * @author WanJl
 * @version 1.0
 * @title ArticleSearchService
 * @description
 * @create 2025/2/21
 */
public interface ArticleSearchService {
    /**
     * ES 新闻分页搜索
     * @param dto
     * @return
     * @throws IOException
     */
    ResponseResult search(UserSearchDto dto) throws IOException;
}
